package com.anolesoft.yr.mbus.contm.dao;

import com.anolesoft.yr.mbus.contm.entity.ContmStyleItem;
import com.anolesoft.yr.mbus.contm.entity.ContmStyleItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ContmStyleItemDao {
    long countByExample(ContmStyleItemExample example);

    int deleteByExample(ContmStyleItemExample example);

    /**
     * delete by primary key
     * @param objuid primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(String objuid);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(ContmStyleItem record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(ContmStyleItem record);

    List<ContmStyleItem> selectByExample(ContmStyleItemExample example);

    /**
     * select by primary key
     * @param objuid primary key
     * @return object by primary key
     */
    ContmStyleItem selectByPrimaryKey(String objuid);

    int updateByExampleSelective(@Param("record") ContmStyleItem record, @Param("example") ContmStyleItemExample example);

    int updateByExample(@Param("record") ContmStyleItem record, @Param("example") ContmStyleItemExample example);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(ContmStyleItem record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(ContmStyleItem record);
}